package com.xlh.dao.courseTest;

import com.xlh.pojo.courseTest.CourseTestPaperAnswerSheet;
import com.xlh.pojo.courseTest.CourseTestPaperAnswerSheetExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CourseTestPaperAnswerSheetMapper {
    long countByExample(CourseTestPaperAnswerSheetExample example);

    int deleteByExample(CourseTestPaperAnswerSheetExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CourseTestPaperAnswerSheet record);

    int insertSelective(CourseTestPaperAnswerSheet record);

    List<CourseTestPaperAnswerSheet> selectByExampleWithBLOBs(CourseTestPaperAnswerSheetExample example);

    List<CourseTestPaperAnswerSheet> selectByExample(CourseTestPaperAnswerSheetExample example);

    CourseTestPaperAnswerSheet selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CourseTestPaperAnswerSheet record, @Param("example") CourseTestPaperAnswerSheetExample example);

    int updateByExampleWithBLOBs(@Param("record") CourseTestPaperAnswerSheet record, @Param("example") CourseTestPaperAnswerSheetExample example);

    int updateByExample(@Param("record") CourseTestPaperAnswerSheet record, @Param("example") CourseTestPaperAnswerSheetExample example);

    int updateByPrimaryKeySelective(CourseTestPaperAnswerSheet record);

    int updateByPrimaryKeyWithBLOBs(CourseTestPaperAnswerSheet record);

    int updateByPrimaryKey(CourseTestPaperAnswerSheet record);

    List<CourseTestPaperAnswerSheet> selectByPrimaryKeyOther(Long id);
}